package com.ruoyi.contract.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同附件对象 contract_appendices
 * 
 * @author ruoyi
 * @date 2024-10-18
 */
public class ContractAppendices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long contractAppendicesId;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractId;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String name;

    /** 附件金额（元） */
    @Excel(name = "附件金额", readConverterExp = "元=")
    private BigDecimal money;

    /** 附件生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "附件生效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date effectiveTime;

    /** 附件终止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "附件终止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date terminationTime;

    /** 附件签订日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "附件签订日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signingTime;

    /** 附件负责人 */
    @Excel(name = "附件负责人")
    private String director;

    /** 原件归档位置id */
    @Excel(name = "原件归档位置id")
    private Long archiveLocationId;

    /** 上传pdf地址 */
    @Excel(name = "上传pdf地址")
    private String pdfAddress;

    public void setContractAppendicesId(Long contractAppendicesId) 
    {
        this.contractAppendicesId = contractAppendicesId;
    }

    public Long getContractAppendicesId() 
    {
        return contractAppendicesId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setEffectiveTime(Date effectiveTime) 
    {
        this.effectiveTime = effectiveTime;
    }

    public Date getEffectiveTime() 
    {
        return effectiveTime;
    }
    public void setTerminationTime(Date terminationTime) 
    {
        this.terminationTime = terminationTime;
    }

    public Date getTerminationTime() 
    {
        return terminationTime;
    }
    public void setSigningTime(Date signingTime) 
    {
        this.signingTime = signingTime;
    }

    public Date getSigningTime() 
    {
        return signingTime;
    }
    public void setDirector(String director) 
    {
        this.director = director;
    }

    public String getDirector() 
    {
        return director;
    }
    public void setArchiveLocationId(Long archiveLocationId) 
    {
        this.archiveLocationId = archiveLocationId;
    }

    public Long getArchiveLocationId() 
    {
        return archiveLocationId;
    }
    public void setPdfAddress(String pdfAddress) 
    {
        this.pdfAddress = pdfAddress;
    }

    public String getPdfAddress() 
    {
        return pdfAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractAppendicesId", getContractAppendicesId())
            .append("contractId", getContractId())
            .append("name", getName())
            .append("money", getMoney())
            .append("effectiveTime", getEffectiveTime())
            .append("terminationTime", getTerminationTime())
            .append("signingTime", getSigningTime())
            .append("director", getDirector())
            .append("archiveLocationId", getArchiveLocationId())
            .append("remark", getRemark())
            .append("pdfAddress", getPdfAddress())
            .toString();
    }
}
